package org.example;

import org.example.utils.MySessionListener;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@MapperScan("org.example.mapper")
@SpringBootApplication
@ServletComponentScan
@EnableTransactionManagement(proxyTargetClass=true)

public class Main {
    public static void main(String[] args)
    {

        SpringApplication.run(Main.class,args);
        System.out.println("Hello world!");
    }
}